package com.ruoyi.finance.livestreaming.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 数字直播提现钱包余额细明
 * </p>
 *
 * @author wangmh
 * @since 2023-09-21
 */
@TableName("sz_withdrawal_detail")
@ApiModel(value = "SzWithdrawalDetail对象", description = "数字直播提现钱包余额细明")
public class SzWithdrawalDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty("金额")
    @TableField("money")
    private BigDecimal money;

    @ApiModelProperty("提现金额流动类型")
    @TableField("flow_type")
    private String flowType;

    @ApiModelProperty("提现记录id")
    @TableField("takeout_id")
    private Long takeoutId;

    @ApiModelProperty("购物记录id")
    @TableField("buy_id")
    private Long buyId;

    @ApiModelProperty("对冲记录id")
    @TableField("mutual_pay")
    private Long mutualPay;

    @ApiModelProperty("产生时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("打赏记录")
    @TableField("play_tour")
    private Long playTour;

    @ApiModelProperty("操作人")
    @TableField("create_user")
    private Long createUser;

    @ApiModelProperty("还款记录id")
    @TableField("deduction_id")
    private Long deductionId;

    public Long getDeductionId() {
        return deductionId;
    }

    public void setDeductionId(Long deductionId) {
        this.deductionId = deductionId;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getPlayTour() {
        return playTour;
    }

    public void setPlayTour(Long playTour) {
        this.playTour = playTour;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }
    public String getFlowType() {
        return flowType;
    }

    public void setFlowType(String flowType) {
        this.flowType = flowType;
    }
    public Long getTakeoutId() {
        return takeoutId;
    }

    public void setTakeoutId(Long takeoutId) {
        this.takeoutId = takeoutId;
    }
    public Long getBuyId() {
        return buyId;
    }

    public void setBuyId(Long buyId) {
        this.buyId = buyId;
    }
    public Long getMutualPay() {
        return mutualPay;
    }

    public void setMutualPay(Long mutualPay) {
        this.mutualPay = mutualPay;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "SzWithdrawalDetail{" +
            "id=" + id +
            ", userId=" + userId +
            ", money=" + money +
            ", flowType=" + flowType +
            ", takeoutId=" + takeoutId +
            ", buyId=" + buyId +
            ", mutualPay=" + mutualPay +
            ", createTime=" + createTime +
        "}";
    }
}
